package com.woniu.account.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author ly
 * @since 2024年03月01日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_point")
public class TPoint implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "point_id", type = IdType.AUTO)
    private Integer pointId;

    /**
     * 等级名称
     */
    @TableField("p_level")
    private String pLevel;

    /**
     * 消费最低金额
     */
    @TableField("p_money")
    private BigDecimal pMoney;

    /**
     * 折扣
     */
    @TableField("p_discount")
    private BigDecimal pDiscount;


}
